Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[crop] Clamp cursor within video dimensions, display crop zone DAR #67

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

stanleyqubit
Copy link

Previously, the script would allow for the drawing of the crop zone to begin even if the crop cursor was placed outside video dimensions (e.g. the area into which the video is rendered). This would show inaccurate crop zone dimensions when drawing the text for the crop zone.

This PR limits placing of the crop cursor within video dimensions area, and also adds a little quality-of-life feature that displays the aspect ratio of the crop zone before validation.

dexeonify added a commit to dexeonify/mpv-config that referenced this pull request Apr 30, 2023
- Clamp cursor within video dimensions
- Display crop zone DAR
dexeonify added a commit to dexeonify/mpv-config that referenced this pull request Sep 24, 2023
@stanleyqubit stanleyqubit changed the title Clamp cursor within video dimensions, display crop zone DAR [crop] Clamp cursor within video dimensions, display crop zone DAR Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant